UITextView
extension Reactive where Base: UITextView
The reactive extension can be accessed through the reactive
instance property and the reactive
static property.
-
Sets the text of the text view.
Declaration
Swift
public var text: BindingTarget<String?>
-
A signal of text values emitted by the text view upon end of editing.
Note
To observe text values that change on all editing events, seecontinuousTextValues
.Declaration
Swift
public var textValues: Signal<String?, NoError>
-
A signal of text values emitted by the text view upon any changes.
Note
To observe text values only when editing ends, seetextValues
.Declaration
Swift
public var continuousTextValues: Signal<String?, NoError>
-
Sets the attributed text of the text view.
Declaration
Swift
public var attributedText: BindingTarget<NSAttributedString?>
-
A signal of attributed text values emitted by the text view upon end of editing.
Note
To observe attributed text values that change on all editing events, seecontinuousAttributedTextValues
.Declaration
Swift
public var attributedTextValues: Signal<NSAttributedString?, NoError>
-
A signal of attributed text values emitted by the text view upon any changes.
Note
To observe text values only when editing ends, seeattributedTextValues
.Declaration
Swift
public var continuousAttributedTextValues: Signal<NSAttributedString?, NoError>